home *** CD-ROM | disk | FTP | other *** search
/ The Macintosh Demo: Applications / Apple-MacintoshDemoApplicationsCD-1.0-1992.iso / More Information / Personal Press 2.0 / PPPouch / Additions / Text Commands / Optimize Text Object Size < prev    next >
MacBinary  |  1992-06-08  |  1.6 KB  |  [SGPA/SCPG]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Optimize Text Object Size

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sun Jun 7 20:00:00 1992, modified Sun Jun 7 20:00:00 1992, creator 'SCPG', type 'SGPA', 698 bytes "Optimize Text Object Size" , at 0x33a 680 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[SGPA]
macFileCreator[SCPG]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 19 4f 70 74 69 6d 69 | 7a 65 20 54 65 78 74 20 |..Optimi|ze Text |
|00000010| 4f 62 6a 65 63 74 20 53 | 69 7a 65 00 00 00 00 00 |Object S|ize.....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 47 50 41 53 43 50 | 47 01 00 00 00 00 00 00 |.SGPASCP|G.......|
|00000050| 00 00 00 00 00 02 ba 00 | 00 02 a8 a6 58 53 80 a6 |........|....XS..|
|00000060| 58 53 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |XS......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 69 f6 00 00 |........|....i...|
|00000080| 6f 6e 20 73 74 61 72 74 | 75 70 0d 67 6c 6f 62 61 |on start|up.globa|
|00000090| 6c 20 62 61 69 6c 6f 75 | 74 0d 0d 63 68 65 63 6b |l bailou|t..check|
|000000a0| 54 65 78 74 54 6f 6f 6c | 49 73 4f 6e 0d 69 66 20 |TextTool|IsOn.if |
|000000b0| 62 61 69 6c 6f 75 74 20 | 3d 20 22 66 61 6c 73 65 |bailout |= "false|
|000000c0| 22 20 74 68 65 6e 0d 6d | 69 6e 69 6d 69 7a 65 54 |" then.m|inimizeT|
|000000d0| 65 78 74 4f 62 6a 65 63 | 74 53 69 7a 65 20 0d 65 |extObjec|tSize .e|
|000000e0| 6e 64 20 69 66 0d 65 6e | 64 20 73 74 61 72 74 75 |nd if.en|d startu|
|000000f0| 70 0d 0d 6f 6e 20 20 63 | 68 65 63 6b 54 65 78 74 |p..on c|heckText|
|00000100| 54 6f 6f 6c 49 73 4f 6e | 0d 67 6c 6f 62 61 6c 20 |ToolIsOn|.global |
|00000110| 62 61 69 6c 6f 75 74 0d | 0d 70 75 74 20 22 74 72 |bailout.|.put "tr|
|00000120| 75 65 22 20 69 6e 74 6f | 20 62 61 69 6c 6f 75 74 |ue" into| bailout|
|00000130| 0d 0d 69 66 20 74 6f 6f | 6c 6d 6f 64 65 20 3c 3e |..if too|lmode <>|
|00000140| 20 22 4d 61 69 6e 54 6f | 6f 6c 22 20 74 68 65 6e | "MainTo|ol" then|
|00000150| 0d 61 6e 73 77 65 72 20 | 22 54 68 65 20 41 72 72 |.answer |"The Arr|
|00000160| 6f 77 20 54 6f 6f 6c 20 | 6d 75 73 74 20 62 65 20 |ow Tool |must be |
|00000170| 74 75 72 6e 65 64 20 6f | 6e 2e 22 0d 65 6c 73 65 |turned o|n.".else|
|00000180| 20 69 66 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 | if numb|er of it|
|00000190| 65 6d 73 20 69 6e 20 73 | 65 6c 65 63 74 65 64 6f |ems in s|electedo|
|000001a0| 62 6a 65 63 74 73 28 29 | 20 3c 3e 20 31 20 74 68 |bjects()| <> 1 th|
|000001b0| 65 6e 0d 61 6e 73 77 65 | 72 20 22 53 65 6c 65 63 |en.answe|r "Selec|
|000001c0| 74 20 74 68 65 20 74 65 | 78 74 20 6f 62 6a 65 63 |t the te|xt objec|
|000001d0| 74 20 74 6f 20 62 65 20 | 72 65 73 69 7a 65 64 20 |t to be |resized |
|000001e0| 66 69 72 73 74 2e 22 0d | 65 6c 73 65 0d 70 75 74 |first.".|else.put|
|000001f0| 20 22 66 61 6c 73 65 22 | 20 69 6e 74 6f 20 62 61 | "false"| into ba|
|00000200| 69 6c 6f 75 74 0d 65 6e | 64 20 69 66 0d 0d 65 6e |ilout.en|d if..en|
|00000210| 64 20 63 68 65 63 6b 54 | 65 78 74 54 6f 6f 6c 49 |d checkT|extToolI|
|00000220| 73 4f 6e 0d 0d 6f 6e 20 | 68 65 6c 70 0d 0d 70 75 |sOn..on |help..pu|
|00000230| 74 20 20 64 69 61 6c 6f | 67 20 28 70 72 65 6c 6f |t dialo|g (prelo|
|00000240| 61 64 2c 20 31 32 38 29 | 20 69 6e 74 6f 20 74 68 |ad, 128)| into th|
|00000250| 65 64 69 61 6c 6f 67 0d | 70 75 74 20 22 2d 2d 2d |edialog.|put "---|
|00000260| 61 5c 30 22 20 69 6e 74 | 6f 20 69 74 65 6d 32 0d |a\0" int|o item2.|
|00000270| 70 75 74 20 22 2d 2d 2d | 61 5c 31 22 20 69 6e 74 |put "---|a\1" int|
|00000280| 6f 20 69 74 65 6d 33 0d | 70 75 74 20 22 2d 2d 2d |o item3.|put "---|
|00000290| 61 5c 32 22 20 69 6e 74 | 6f 20 69 74 65 6d 34 0d |a\2" int|o item4.|
|000002a0| 0d 0d 72 65 70 65 61 74 | 20 66 6f 72 65 76 65 72 |..repeat| forever|
|000002b0| 0d 67 65 74 20 64 69 61 | 6c 6f 67 28 64 69 73 70 |.get dia|log(disp|
|000002c0| 6c 61 79 2c 20 74 68 65 | 64 69 61 6c 6f 67 29 0d |lay, the|dialog).|
|000002d0| 69 66 20 28 69 74 20 3d | 20 31 29 20 74 68 65 6e |if (it =| 1) then|
|000002e0| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 | exit re|peat.end|
|000002f0| 20 72 65 70 65 61 74 0d | 67 65 74 20 64 69 61 6c | repeat.|get dial|
|00000300| 6f 67 28 64 69 73 70 6f | 73 65 2c 20 74 68 65 64 |og(dispo|se, thed|
|00000310| 69 61 6c 6f 67 29 0d 0d | 65 6e 64 20 68 65 6c 70 |ialog)..|end help|
|00000320| 0d 20 0d 00 00 04 00 09 | 00 02 01 b9 00 00 00 00 |. ......|........|
|00000330| 00 00 00 3c 00 14 01 42 | 01 ec 00 00 00 00 00 00 |...<...B|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 02 5d | 00 00 01 5d 00 00 00 4b |.......]|...]...K|
|00000390| 00 00 16 88 16 50 65 72 | 73 6f 6e 61 6c 20 50 72 |.....Per|sonal Pr|
|000003a0| 65 73 73 aa 20 32 2e 30 | 20 64 38 20 02 00 00 00 |ess. 2.0| d8 ....|
|000003b0| 19 4f 70 74 69 6d 69 7a | 65 20 54 65 78 74 20 4f |.Optimiz|e Text O|
|000003c0| 62 6a 65 63 74 20 53 69 | 7a 65 02 00 00 00 53 47 |bject Si|ze....SG|
|000003d0| 00 00 53 47 50 41 53 43 | 50 47 01 00 00 34 00 00 |..SGPASC|PG...4..|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 a6 58 53 80 00 00 | 02 ba 00 00 02 a8 00 00 |...XS...|........|
|00000400| 00 00 b8 5f 01 4d b9 d6 | 00 01 b9 fc 00 14 00 00 |..._.M..|........|
|00000410| 00 00 1c 00 00 00 16 88 | 16 50 65 72 73 6f 6e 61 |........|.Persona|
|00000420| 6c 20 50 72 65 73 73 aa | 20 32 2e 30 20 64 39 20 |l Press.| 2.0 d9 |
|00000430| 02 00 00 00 41 50 50 4c | 53 43 50 47 21 00 00 28 |....APPL|SCPG!..(|
|00000440| 00 c0 00 00 00 00 36 f9 | 00 00 00 00 00 00 00 00 |......6.|........|
|00000450| 00 00 00 00 00 10 72 63 | 00 10 74 00 a6 15 c5 33 |......rc|..t....3|
|00000460| a6 1c 38 a8 00 00 00 00 | 00 00 00 00 00 00 00 00 |..8.....|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 40 00 07 00 00 | 00 00 00 e0 01 26 00 f4 |...@....|.....&..|
|00000490| 01 72 04 02 4f 4b 00 00 | 00 00 00 42 00 04 00 d6 |.r..OK..|...B....|
|000004a0| 01 76 80 00 00 00 00 00 | 00 14 00 04 00 1c 01 7c |.v......|.......||
|000004b0| 80 00 00 00 00 00 00 34 | 00 04 00 3c 01 76 80 00 |.......4|...<.v..|
|000004c0| 00 00 00 00 00 03 00 04 | 00 13 00 b7 88 13 48 65 |........|......He|
|000004d0| 6c 70 20 77 69 74 68 20 | 41 64 64 69 74 69 6f 6e |lp with |Addition|
|000004e0| 73 6f 00 00 00 00 00 22 | 00 04 00 32 01 2f 88 18 |so....."|...2./..|
|000004f0| 4f 70 74 69 6d 75 6d 20 | 54 65 78 74 20 4f 62 6a |Optimum |Text Obj|
|00000500| 65 63 74 20 53 69 7a 65 | 00 00 00 00 00 44 00 06 |ect Size|.....D..|
|00000510| 00 69 01 73 88 5d 54 68 | 69 73 20 77 69 6c 6c 20 |.i.s.]Th|is will |
|00000520| 72 65 73 69 7a 65 20 61 | 20 73 65 6c 65 63 74 65 |resize a| selecte|
|00000530| 64 20 74 65 78 74 20 6f | 62 6a 65 63 74 20 73 6f |d text o|bject so|
|00000540| 20 69 74 20 69 73 20 74 | 68 65 20 65 78 61 63 74 | it is t|he exact|
|00000550| 20 73 69 7a 65 20 72 65 | 71 75 69 72 65 64 20 74 | size re|quired t|
|00000560| 6f 20 63 6f 6e 74 61 69 | 6e 20 69 74 73 20 74 65 |o contai|n its te|
|00000570| 78 74 2e 00 00 00 00 00 | 00 73 00 08 00 b6 01 66 |xt......|.s.....f|
|00000580| 08 42 31 29 20 53 65 6c | 65 63 74 20 74 68 65 20 |.B1) Sel|ect the |
|00000590| 74 65 78 74 20 6f 62 6a | 65 63 74 20 74 6f 20 62 |text obj|ect to b|
|000005a0| 65 20 72 65 73 69 7a 65 | 64 2e 0d 0d 32 29 20 43 |e resize|d...2) C|
|000005b0| 68 6f 6f 73 65 20 74 68 | 69 73 20 41 64 64 69 74 |hoose th|is Addit|
|000005c0| 69 6f 6e 2e 00 00 00 15 | 00 28 00 28 01 2a 01 a8 |ion.....|.(.(.*..|
|000005d0| 00 01 00 00 01 00 00 00 | 00 00 00 80 00 00 00 01 |........|........|
|000005e0| 00 00 00 02 5d 00 00 01 | 5d 00 00 00 4b 00 a6 d6 |....]...|]...K...|
|000005f0| ec 09 8e 00 00 00 1c 00 | 46 00 01 44 49 54 4c 00 |........|F..DITL.|
|00000600| 00 00 12 44 4c 4f 47 00 | 00 00 1e 00 80 00 00 20 |...DLOG.|....... |
|00000610| 00 00 00 00 a7 ad 9c 00 | 80 ff ff 20 00 01 44 00 |........|... ..D.|
|00000620| a7 ad b0 04 48 65 6c 70 | 00 00 00 00 00 00 00 00 |....Help|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+